package com.ljx.mapper;

import com.ljx.pojo.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.pojo.frontVo.CourseWebVo;
import com.ljx.pojo.vo.CoursePublishVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author 李加喜
 * @since 2020-09-25
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //根据课程的Id查询课程的基本信息
    CoursePublishVo getPublish(@Param("courseId") String courseId);
    //根据课程的ID查询课程的基本信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
